package com.wash.shoes.domain.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.wash.shoes.entity.OrderGoodPo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author lijianguo
 * @Date 29/08/2024
 * 请输入类的简介
 **/
@ApiModel(value = "添加修改订单")
@Data
public class AddOrderVo {

    @ApiModelProperty(value = "订单的id")
    private String id;

    /**
     * 品牌id,反洗的时候从反洗的订单中获取
     */
    @JsonIgnore
    private String brandId;

    @ApiModelProperty(value = "店铺的id")
    private String shopId;

    @ApiModelProperty(value = "客户的id,可以为空")
    private String customId;

    @ApiModelProperty(value = "客户的电话")
    private String customPhone;

    @ApiModelProperty(value = "订单号")
    private String orderNo;

    @ApiModelProperty(value = "订单来源 1pc  2美团  3抖音 4小程序")
    private String comeFrom;

    @ApiModelProperty(value = "鞋子数量")
    private Integer shoesNum;

    @ApiModelProperty(value = "总价")
    private Double totalPrice;

    @ApiModelProperty(value = "折扣率")
    private Double discountRatio;

    @ApiModelProperty(value = "订单金额")
    private Double orderPrice;

    @ApiModelProperty(value = "需要洗几天")
    private Integer washDays;

    @ApiModelProperty(value = "客户备注")
    private String customerRemark;

    @ApiModelProperty(value = "店铺备注")
    private String shopRemark;

    @ApiModelProperty(value = "订单的前缀")
    private String pre;

    @ApiModelProperty(value = "取鞋日期")
    private String shoeCollectionDate;

    @ApiModelProperty(value = "商品的信息")
    List<OrderGoodPo> orderGoodPoList;

}
